package com.baizhi.springboot.service;

import com.baizhi.springboot.entity.Article;

import java.util.Map;

public interface ArticleService {
    Map selectArticleByPage(Integer page, Integer limit);

    void insertArticle(Article article);

    void deleteArticle(Integer id);

    Article selectOneArticle(Integer id);

    void updateArticle(Article article);
}
